home *** CD-ROM | disk | FTP | other *** search
/ Risc World 5 / Risc World 5.iso / SOFTWARE / Issue3 / Games / xrick / !xrick / src / MakeFile_r < prev    next >
Makefile  |  2004-06-28  |  1KB  |  40 lines

  1. # Makefile for RISC OS
  2. #
  3. # xrick/src/Makefile
  4. #
  5. # Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
  6. #
  7. # The use and distribution terms for this software are contained in the file
  8. # named README, which can be found in the root of this distribution. By
  9. # using this software in any fashion, you are agreeing to be bound by the
  10. # terms of this license.
  11. #
  12. # You must not remove this notice, or any other, from this software.
  13. #
  14.  
  15. CC=gcc
  16. CPP=gcc -E
  17. CFLAGS= -ansi -pedantic -Wall -W -O2 -I../include -ISDL: -IZLIB: \
  18.         -DENABLE_SOUND -mthrowback
  19. LDFLAGS=-LZLIB: -lz -LSDL: -lsdl
  20.  
  21. #
  22. # Defs
  23. #
  24. #
  25. TARGET = ../!RunImage
  26. OBJECTS = unzip.o data.o scr_xrick.o scr_pause.o scr_imain.o scr_imap.o scr_gameover.o scr_getname.o dat_picsPC.o dat_picsST.o dat_screens.o dat_tilesPC.o dat_tilesST.o dat_maps.o dat_ents.o dat_spritesST.o dat_spritesPC.o ents.o e_bullet.o e_bomb.o e_rick.o e_sbonus.o e_them.o e_bonus.o e_box.o rects.o util.o game.o xrick.o draw.o maps.o sysvid.o syskbd.o control.o system.o scroller.o sysevt.o sysarg.o syssnd.o sysjoy.o dat_snd.o
  27.  
  28. #
  29. # Rules
  30. #
  31. #
  32.  
  33. all: $(TARGET)
  34.  
  35. $(TARGET): $(OBJECTS) $(XOBJ)
  36.     $(CC) $(OBJECTS) $(XOBJ) $(LDFLAGS) -o $(TARGET)
  37.  
  38. %.o: %.c
  39.     $(CC) $(CFLAGS) -c $< -o $@
  40.